package com.gjintel.business.enquire.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.transaction.Transactional;

import org.hibernate.annotations.GenericGenerator;

/**
 * 项目询标函询问
 * @author wei
 *
 */
@Entity
@Table(name="t_proj_enquire")
public class ProjectEnquire {
	
	private String id;
	private String projId;//项目id proj_id
	private String projName;//项目名称 proj_name
	private String senderId;//发送者id sender_id
	private String receiverId;//接受者id receiver_id
	private Date createTime;//创建时间 create_time
	private String resourceId;//资源文件id resource_id
	private String resourceName;//资源文件名称
	private String senderName;//发送者名字
	private String receiverName;//接受者名字
	
	
	public ProjectEnquire() {
	}
	

	public ProjectEnquire(String projId, String projName, String senderId, String receiverId,
			Date createTime, String senderName, String receiverName,String resourceId,String resourceName) {
		this.projId = projId;
		this.projName = projName;
		this.senderId = senderId;
		this.receiverId = receiverId;
		this.createTime = createTime;
		this.senderName = senderName;
		this.receiverName = receiverName;
		this.resourceId=resourceId;
		this.resourceName=resourceName;
	}



	@Id
	@GeneratedValue(generator = "UIDGenerator")
	@GenericGenerator(name = "UIDGenerator", strategy = "org.hibernate.id.UUIDHexGenerator")
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name="proj_id")
	public String getProjId() {
		return projId;
	}

	public void setProjId(String projId) {
		this.projId = projId;
	}
	
	@Column(name="proj_name")
	public String getProjName() {
		return projName;
	}

	public void setProjName(String projName) {
		this.projName = projName;
	}

	@Column(name="sender_id")
	public String getSenderId() {
		return senderId;
	}

	public void setSenderId(String senderId) {
		this.senderId = senderId;
	}

	@Column(name="receiver_id")
	public String getReceiverId() {
		return receiverId;
	}

	public void setReceiverId(String receiverId) {
		this.receiverId = receiverId;
	}

	@Column(name="create_time")
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Column(name="resource_id")
	public String getResourceId() {
		return resourceId;
	}

	public void setResourceId(String resourceId) {
		this.resourceId = resourceId;
	}
	

	@Column(name="sender_name")
	public String getSenderName() {
		return senderName;
	}

	public void setSenderName(String senderName) {
		this.senderName = senderName;
	}
	
	@Column(name="receiver_name")
	public String getReceiverName() {
		return receiverName;
	}

	public void setReceiverName(String receiverName) {
		this.receiverName = receiverName;
	}

	@Column(name="resource_name")
	public String getResourceName() {
		return resourceName;
	}

	public void setResourceName(String resourceName) {
		this.resourceName = resourceName;
	}

}
